﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GrayParrot.Web.Controls
{
    [TypeConverter(typeof(ExpandableObjectConverter))]
    public class ValidationParameter
    {
        /// <summary>
        /// Gets or sets the name of the validation parameter...
        /// </summary>
        /// <value>
        /// The name of the parameter matches the name of the html control that holds the value for the parameter. 
        /// To be sure put the same name and the id for the html control...
        /// </value>
        public string Name { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="ValidationParameter"/> class.
        /// </summary>
        public ValidationParameter()
        {
        }
    }
}
